package com.entity;

import java.sql.Timestamp;

/**
 * TOrder entity. @author MyEclipse Persistence Tools
 */

public class TOrder implements java.io.Serializable {

	// Fields

	private String id;
	private String number;
	private String tuserInfoId;
	private String torderTypeId;
	private Timestamp createTime;
	private Timestamp payTime;
	private Integer state;
	private String trestaurantId;
	private String operator;
	private String address;
	private String customer;
	private Timestamp mealTime;
	private Double total;
	private String tpayTypeId;
	private Integer isInvoice;
	private Integer alreadyInvoice;
	private String remark;
	private Integer discount;
	private Timestamp actualTime;

	// Constructors

	/** default constructor */
	public TOrder() {
	}

	/** minimal constructor */
	public TOrder(String id, String number, String tuserInfoId,
			String torderTypeId) {
		this.id = id;
		this.number = number;
		this.tuserInfoId = tuserInfoId;
		this.torderTypeId = torderTypeId;
	}

	/** full constructor */
	public TOrder(String id, String number, String tuserInfoId,
			String torderTypeId, Timestamp createTime, Timestamp payTime,
			Integer state, String trestaurantId, String operator,
			String address, String customer, Timestamp mealTime, Double total,
			String tpayTypeId, Integer isInvoice, Integer alreadyInvoice,
			String remark, Integer discount, Timestamp actualTime) {
		this.id = id;
		this.number = number;
		this.tuserInfoId = tuserInfoId;
		this.torderTypeId = torderTypeId;
		this.createTime = createTime;
		this.payTime = payTime;
		this.state = state;
		this.trestaurantId = trestaurantId;
		this.operator = operator;
		this.address = address;
		this.customer = customer;
		this.mealTime = mealTime;
		this.total = total;
		this.tpayTypeId = tpayTypeId;
		this.isInvoice = isInvoice;
		this.alreadyInvoice = alreadyInvoice;
		this.remark = remark;
		this.discount = discount;
		this.actualTime = actualTime;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getNumber() {
		return this.number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getTuserInfoId() {
		return this.tuserInfoId;
	}

	public void setTuserInfoId(String tuserInfoId) {
		this.tuserInfoId = tuserInfoId;
	}

	public String getTorderTypeId() {
		return this.torderTypeId;
	}

	public void setTorderTypeId(String torderTypeId) {
		this.torderTypeId = torderTypeId;
	}

	public Timestamp getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public Timestamp getPayTime() {
		return this.payTime;
	}

	public void setPayTime(Timestamp payTime) {
		this.payTime = payTime;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getTrestaurantId() {
		return this.trestaurantId;
	}

	public void setTrestaurantId(String trestaurantId) {
		this.trestaurantId = trestaurantId;
	}

	public String getOperator() {
		return this.operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getCustomer() {
		return this.customer;
	}

	public void setCustomer(String customer) {
		this.customer = customer;
	}

	public Timestamp getMealTime() {
		return this.mealTime;
	}

	public void setMealTime(Timestamp mealTime) {
		this.mealTime = mealTime;
	}

	public Double getTotal() {
		return this.total;
	}

	public void setTotal(Double total) {
		this.total = total;
	}

	public String getTpayTypeId() {
		return this.tpayTypeId;
	}

	public void setTpayTypeId(String tpayTypeId) {
		this.tpayTypeId = tpayTypeId;
	}

	public Integer getIsInvoice() {
		return this.isInvoice;
	}

	public void setIsInvoice(Integer isInvoice) {
		this.isInvoice = isInvoice;
	}

	public Integer getAlreadyInvoice() {
		return this.alreadyInvoice;
	}

	public void setAlreadyInvoice(Integer alreadyInvoice) {
		this.alreadyInvoice = alreadyInvoice;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getDiscount() {
		return this.discount;
	}

	public void setDiscount(Integer discount) {
		this.discount = discount;
	}

	public Timestamp getActualTime() {
		return this.actualTime;
	}

	public void setActualTime(Timestamp actualTime) {
		this.actualTime = actualTime;
	}

}